import { Command } from '@/commands/command.ts'
import { new_command } from '@/models/command.ts'

export class AiCommand extends Command {
    public static new(args: string): Command {
        const command = new_command()
        command.args = args
        command.name = 'ai'
        command.component = 'AiCommandComponent'

        return new AiCommand(command, false)
    }

    usage(): string {
        return 'ai 会话内容'
    }

    description(): string {
        return `<div>调用AI模型进行对话</div>`
    }
}
